package org.cybzacg.convert.constants;


import java.time.*;
import java.util.Date;

/**
 * 日期时间默认值
 */
public final class DateTimeDefaults {
    public static final Date DATE_DEFAULT = new Date(0);
    public static final LocalDate LOCAL_DATE_DEFAULT = LocalDate.of(1970, 1, 1);
    public static final LocalDateTime LOCAL_DATETIME_DEFAULT = LocalDateTime.of(1970, 1, 1, 0, 0, 0);
    public static final LocalTime LOCAL_TIME_DEFAULT = LocalTime.of(0, 0, 0);
    public static final ZonedDateTime ZONED_DATETIME_DEFAULT = ZonedDateTime.of(1970, 1, 1, 0, 0, 0, 0, ZoneId.systemDefault());
    public static final Instant INSTANT_DEFAULT = Instant.EPOCH;
    public static final Year YEAR_DEFAULT = Year.of(1970);
    public static final YearMonth YEAR_MONTH_DEFAULT = YearMonth.of(1970, 1);
    public static final Period PERIOD_DEFAULT = Period.ZERO;
    public static final Duration DURATION_DEFAULT = Duration.ZERO;
    /**
     * 系统时区
     */
    public static final ZoneId SYSTEM_ZONE_ID = ZoneId.systemDefault();
}
